package exception;

public class FInallyDemo {
    public static void main(String[] args) {
        System.out.println("开始了");
        try{
            //String name=null;
            String name="";
            System.out.println(name.length());
            return;
        }catch(Exception D){
            System.out.println("搞定");
        }finally{
            System.out.println("总算到我了");
        }
        System.out.println("结束了");

    }
}
